﻿
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace monitoring_system.ViewModels
{
    public class IndexViewModel:ReactiveObject
    {
        [Reactive]
        public double Month1 { get; private set; }
        public IndexViewModel()
        {
            Task.Factory.StartNew(() =>
            {
                while (true) {

                    Month1=new Random().Next(30,90);
                   FinsType.DataType.Mothe1 = new Random().Next(30, 90); ;
                }
            });
        }
    }
}
